	<!--{template admin/header}-->
	<body id="homepage">
	    <div id="breadcrumb">
	        <ul>
	            <li><img src="static/img/icons/icon_breadcrumb.png"
	                     alt="Location" /></li>
	            <li><strong>位置:</strong></li>
	            <li><a href="admin.php">主页</a> - 日记评论</li>
	        </ul>
	    </div>
	    <div id="rightside">
	        <div class="contentcontainer">
	            <div class="headings altheading">
	                <h2>日记评论</h2>
	            </div>
	            <div class="contentbox">
		            <div class="extrabottom">
	                    <form method="get" action="admin.php">
	                                                            贴主Uid:<input type="text" name="uid" value="$uid"class="inputbox smallbox" /> 
	                                                            帖子Id:<input type="text"name="bodyId" value="$bodyId" class="inputbox smallbox" />
	                                                            上级评论Id:<input type="text"name="parentId" value="$parentId" class="inputbox smallbox" />
	                                                            时间范围:<input type="text"name="time1" value="$time1" class="inputbox smallbox" />-
	                               <input type="text"name="time2" value="$time2" class="inputbox smallbox" />
	                                                             顺序选择:<select name="ordersc">
	                       	 	<option value="desc"{$orderscArr['desc']}>降序</option>
	                       	 	<option value="acs"{$orderscArr['acs']}>升序</option>
	                       	 </select> 
	                       	 显示选择:<select name="perpage">
	                            <option value="20"{$perpageArr[20]}>每页显示20个</option>
	                            <option value="50"{$perpageArr[50]}>每页显示50个</option>
	                            <option value="100"{$perpageArr[100]}>每页显示100个</option>
	                         </select>
	                        <input type="submit" value="查看评论" class="btn" /> 
	                        <input type="hidden" name="ac" value="diarycomments" />
	                        <input type="hidden" name="query" value="1" />
	                    </form>
	                </div>
	                <div style="clear: both;"></div>
	                <table width="100%">
	                    <thead>
	                        <tr>
	                            <th>评论人</th>
	                            <th>内容</th>
	                            <th>评论时间</th>
	                            <th>操作</th>
	                        </tr>
	                    </thead>
	                    <!--{if $list}-->
	                    <tbody>
	                        <!--{loop $list $comment}-->
	                        <tr>
	                        	<td>
	                        		<a href="admin.php?ac=user&uid={$comment[cUid]}" target="_blank">{$comment[cNickname]}</a>
	                        	</td>
	                            <td>
	                            	<!--{if $comment['parentId']}-->
	                            	<span><b>回复了<a href="admin.php?ac=user&uid={$comment[rUid]}" style="color:red;">$comment[rNickname]</a></b></span>:
	                            	<!--{/if}-->
	                            	{$comment[content]}
	                            </td>
	                            <td><!--{date('Y-m-d H:i:s',$comment[time])}--></td>
	                            <td>
	                            	<a href="admin.php?ac=user&uid={$comment[cUid]}" target="_blank">
	                            		<img src="static/img/icons/gif_people.gif" width="24" height="24" />
	                            	</a> &nbsp;
	                                <a href="admin.php?ac=diary&op=removeComment&id={$comment[id]}&uid={$value[uid]}" onclick="ajaxget(this.href);return false;" target="_blank">
	                                 	<img src="static/img/icons/gif_delete.gif" width="24" height="24" />
	                                </a>
	                            </td>
	                        </tr>
	                        
	                        <!--{/loop}-->
		                        
	                    </tbody>
	                    <!--{/if}-->
	                </table>
	                <div class="extrabottom">
	                    <ul>
	                        <li><img src="static/img/icons/gif_people.gif" />作者信息</li>
	                        <li><img src="static/img/icons/gif_delete.gif" /> 删除日记</li>
	                    </ul>
	                    <div class="bulkactions">
	                        <ul class="pagination">
	                            <!--{if $prevpurl!=''}-->
	                            <li class="text"><a href="{$firstpurl}" title="">第一页</a></li>
	                            <li class="text"><a href="{$prevpurl}" title="">上一页</a></li>
	                            <!--{/if}-->
	                            <li class="text"><a href="
	                            <!--{eval echo $nextpurl==''?"admin.php?ac=diary&op=getCommentInfoList&bodyId={$_GET['bodyId']}&uid={$_GET['uid']}&type=1&start=0&length=20":$nextpurl}-->" >
	                                                                                       下一页</a></li>
	                        </ul>
	                        <div style="clear: both;"></div>
	                    </div>
	                </div>
	                <div style="clear: both;"></div>
	            </div>
	        </div>
	    </div>
	    <!--{template admin/leftside}-->
	    <!--{template admin/footer}-->